package org.moda.common;

public final class GException extends RuntimeException{
    public final String message;

    public GException(String message) {
        this.message = message;
    }

    public static GException of(String message) {
        return new GException(message);
    }

    public static GException of(Throwable throwable) {
        return new GException(throwable.getMessage());
    }
}
